<template>
  <div class="uc-ioc-title" :style="style">
    <slot></slot>
  </div>
</template>

<script>
import { useBackgroundImage } from "@/composables";
export default {
  name: "DvBgImageTitle",
  props: {
    icon: String,
  },
  setup(props) {
    const style = useBackgroundImage(props.icon);
    return {
      style,
    };
  },
};
</script>

<style scoped lang="scss">
.uc-ioc-title {
  font-size: 16px;
  font-weight: 400;
  color: #ffffff;
  width: 411px;
  height: 52px;
  line-height: 52px;
  padding-left: 65px;
  background-repeat: no-repeat;
  box-sizing: border-box;
}
</style>
